package com.probiz.estore.core.util;

import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFRow;

public class ExcelUtils {
	
	/**
	 * 设置excel行的指定单元格字符串值;
	 * @param row
	 * @param i
	 * @param string
	 */
	public static void setCellStringValue(HSSFRow row, short i, String val) {
		HSSFCell cell = row.createCell(i);
		cell.setCellType(HSSFCell.CELL_TYPE_STRING);
		cell.setCellValue(val);
	}
}
